<div class="modal-content" style="width:800px">
	<div class="modal-header">
		<button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
		<h4 class="modal-title" id="myModalLabel">新增渠道 / 编辑渠道</h4>
	</div>
	<div class="modal-body" style="height:600px;overflow-y:auto;">
		<form class="form-horizontal" role="form" id="form_price_Validform">
			<h5 class="h5Title">渠道信息</h5>
			<div class="popfrm1">
			<input type="hidden" name="channelid"  id="channelid" value="{{id}}"/>
					<div class="form-group">
						<label class="pop-left"><span class="redstar">*</span>渠道名：</label>
						<div class="col-sm-5">
							<input type="text" name="channel_name" class="form-control" placeholder="最多30个字" maxlength="30" datatype="checkchannelName" errormsg="最多30个字符！"  value="{{channel_name}}"/>
						</div>
					</div>
					<div class="form-group">
						<label class="pop-left">渠道LOGO：</label>
						<div class="col-sm-3">
							<input type="file" name="file" class="fm-fileinput1" id="fileinput1" multiple="multiple">
						</div>
						<div class="col-sm-5">
									<input type="hidden"  name="channel_logo" value="{{channel_logo}}"/>
								{{if channel_logo}}
									<img src="{{imgRoot}}{{channel_logo}}" style="height: 50px;"/>
								{{else}}
									<img src="../images/u112.png" style="height: 50px;"/>
								{{/if}}
						</div>
						<div class="col-sm-10">
							<span class="col-sm-8 floatR" style="color: #aaaaaa;padding-left:0;">建议上传规格为500*500</span>
						</div>
					</div>
	
					<div class="form-group">
					</div>
	
					<div class="form-group">
						<label class="pop-left">页面标题：</label>
						<div class="col-sm-5">
							<input type="text" name="page_title" class="form-control" placeholder="最多10个字" maxlength="10" value="{{page_title}}"/>
						</div>
					</div>
			</div>
			<div class="borderTop" style="margin:20px 0;"></div>
			<h5 class="h5Title">分享设置</h5>
			<div class="popfrm1">
					<div class="form-group">
						<label class="pop-left">分享图标：</label>
						<div class="col-sm-3">
							<input type="file" name="file" class="fm-fileinput2" id="fileinput2" multiple="multiple">
						</div>
						<div class="col-sm-5">
								<input type="hidden"  name="share_img" value="{{share_img}}"/>
							{{if share_img}}
								<img src="{{imgRoot}}{{share_img}}" style="height: 50px;"/>
							{{else}}
								<img src="../images/u112.png" style="height: 50px;"/>
							{{/if}}
						</div>
						<div class="col-sm-10">
							<span class="col-sm-8 floatR" style="color: #aaaaaa;padding-left:0;">建议上传规格为500*500</span>
						</div>
					</div>
					<div class="form-group">
						<label class="pop-left">分享标题：</label>
						<div class="col-sm-5">
							<input type="text" name="share_title" class="form-control" placeholder="最多10个字" maxlength="10" value="{{share_title}}"/>
						</div>
					</div>
					<div class="form-group">
						<label class="pop-left">分享内容：</label>
						<div class="col-sm-5">
							<textarea type="text" name="share_content" rows="3" class="form-control" placeholder="最多30个字"  maxlength="30" >{{share_content}}</textarea>
						</div>
					</div>
			</div>
		</form>
	</div>
	<div class="modal-footer">
		<button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
		<button type="button" class="btn btn-primary chsubmit">提交</button>
	</div>
	<!-- /.modal-content -->
</div>